// import { exception } from "console"
import request from "../utils/request.js"
// const path="/teacher.php"

//老师页面加载班级
export function getBanji(data) {
  return request({
    url: "/teacher.php/index/index",
    data,
  })
}

//“+”新增班级
export function addClass(data) {
  return request({
    url: "/teacher.php/index/addClass",
    data,
  })
}

//长按删除班级
export function delClass(data) {
  return request({
    url: "/teacher.php/index/delClass",
    data,
  })
}

//学生名单
export function student(data) {
  return request({
    url: "/teacher.php/classs/student",
    data,
  })
}

//编辑班级
export function editclass(data) {
  return request({
    url: "/teacher.php/classs/editClass",
    data,
  })
}



